package app.textures 
{
	/**
	 * ...
	 * @author Dmitriy Gaiduk
	 */
	public class TextureInfoGroupe 
	{
		public var textures:Vector.<TextureInfo>;
		public var groupeName:String;
		public var displayType:String;
		public var previewWidth:Number = 72;
		public var previewHeight:Number = 56;
		public var buttonStyle:String;
		/**
		 * Where thouse textures will be drawing
		 */
		public var targetSurface:String;
		
		public static const TARGET_SIDE_FACADE:String = "facade";
		public static const TARGET_SIDE_TABLETOP:String = "tabletop";
		public static const TARGET_SIDE_CORPUS:String = "corpus";
		public static const TARGET_SIDE_TECH:String = "tech";
		
		/**
		 * Type of texture enum from TextureInfoGroupe. Information for PaletteManager
		 */
		public var textureType:String = "";
		
		public static const TEXTURE_TYPE_COLOR:String = "color";
		public static const TEXTURE_TYPE_BITMAP:String = "texture";
		public static const TEXTURE_TYPE_SET_OF_BITMAP:String = "set";
		
		public function TextureInfoGroupe(name:String, texturesArr:Vector.<TextureInfo>) 
		{
			groupeName = name;
			textures = texturesArr;
		}
		
		public function addTexture(texture:TextureInfo):void
		{
			if (textures == null)
			{
				textures = new Vector.<TextureInfo>();
			}
			
			textures.push(texture);
		}
		
	}

}